package com.algoshow.model;

import java.awt.*;

/**
 * @author vvv
 * @date 2023-05-21 16 26
 * discription
 */
public class ListNode {
    public Integer value;

    public ListNode next;

    public Color color;

    public ListNode(Integer value) {
        this.value = value;
        this.next = null;
        color = new Color(168,212,223);
    }


    @Override
    public String toString() {
        return "ListNode{" +
                "value=" + value +
                ", next=" + next +
                ", color=" + color +
                '}';
    }
}
